*****************************************************
* STATA Replication files                           *
* Coalition Government Formation and Policy Payoffs *
* Date: March 26, 2025                              *
* By: Simon Otjes                                   *
*****************************************************

* Hello! This replication file comes in two parts
* Part 1: Preparing data
* Part 2: Table 1 and Figure 2 and 3
* Part 3: Table B1 to B12

**************************
* Part 1: Preparing data *
**************************

clear all

* Step 1: read in data
* Please replace all paths (i.e., "~/Dropbox/Otjes Willumsen/Price of coalition government/") so that they match your computer setup

insheet using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/inputs/main data.csv", clear

* Step 2: generate variables

* Generate party year levels
generate no = pno/10 + year

* Generate PVV variable
generate PVV = party=="PVV"

* Generate Share-squared
generate share2 = share^2

* Generate Unanimous decisions
generate unan = sparties == 1

* p.16-17 "the correlation [between unanimous support and] pre-negotiation agreement is 0.79, significant at the 0.01-level"

pwcorr sparties unan, sig

**************************************
* Part 2: Table 1 and Figure 2 and 3 *
**************************************

***********
* Table 2 *
***********

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative || no:

************
* Figure 2 *
************

margins , at(sparties =(0 (0.1) 1)) vsquish level(95)

*A proposal which is supported by 0% of the other coalition parties (i.e., is only supported by the party proposing it) has a one in four chance of being included in the coalition agreement. In contrast, a proposal which has the support of all other parties in the coalition has a three in four chance of being included in the coalition agreement, a tripling in the probability of inclusion

************
* Figure 3 *
************

margins , at(share =(0 (0.05) 0.5)) vsquish level(95)
margins , at(caprelative =(0 (0.2) 2)) vsquish level(95)

* if a party spends comparatively little attention to an issue the probability of a proposal entering the coalition agreement is 38%. If they are spent a lot of attention to it compared to their partners, that probability only rises to 50%. 

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative || no:


esttab using "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table 2.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

***************************
* Part 3: Table B1 to B12 *
***************************

************
* Table B1 *
************

eststo clear

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative || no:

eststo: melogit binary i.category i.direction absoluteproposal share share2 sparties caprelative || no:

eststo: melogit binary i.category i.direction absoluteproposal share coashare caprelative || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties cappercent || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ministerparty || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ssparty || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative formateur || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative PVV || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative plenshare || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative i.year || pno:  

eststo: melogit binary i.category i.direction absoluteproposal share caprelative || no:

esttab using "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b01.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B2 *
************

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share share2 sparties caprelative [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share coashare caprelative [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties cappercent [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ministerparty [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ssparty [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative formateur [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative PVV [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative plenshare [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative [iweight=absoluteproposal] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative i.year [iweight=absoluteproposal] || pno:  

eststo: melogit binary i.category i.direction absoluteproposal share caprelative [iweight=absoluteproposal] || no:

esttab using "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b02.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B3 *
************

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share share2 sparties caprelative [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share coashare caprelative [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties cappercent [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ministerparty [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ssparty [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative formateur [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative PVV [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative plenshare [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative [iweight=wparties] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative i.year [iweight=wparties] || pno:  

eststo: melogit binary i.category i.direction absoluteproposal share caprelative [iweight=wparties] || no:


esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b03.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)          ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B4 *
************

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative || no:

eststo: mixed ratio i.category i.direction absoluteproposal share share2 sparties caprelative || no:

eststo: mixed ratio i.category i.direction absoluteproposal share coashare caprelative || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties cappercent || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ministerparty || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ssparty || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative formateur || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative PVV || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative plenshare || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative i.year || pno:  

eststo: mixed ratio i.category i.direction absoluteproposal share caprelative || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b04.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B5 *
************

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share share2 sparties caprelative [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share coashare caprelative [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties cappercent [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ministerparty [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ssparty [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative formateur [pw=absoluteproposal] || no:
 
eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative PVV [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative plenshare [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative [pw=absoluteproposal] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative i.year [pw=absoluteproposal] || pno:  

eststo: mixed ratio i.category i.direction absoluteproposal share caprelative [pw=absoluteproposal] || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b05.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B6 *
************

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share share2 sparties caprelative [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share coashare caprelative [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties cappercent [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ministerparty [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ssparty [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative formateur [pw=wparties] || no:
 
eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative PVV [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative plenshare [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative [pw=wparties] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative i.year [pw=wparties] || pno:  

eststo: mixed ratio i.category i.direction absoluteproposal share caprelative [pw=wparties] || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b06.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B7 *
************

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share share2 sparties caprelative unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share coashare caprelative unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties cappercent unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ministerparty unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ssparty unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative formateur unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative PVV unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative plenshare unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan i.year || pno:  

eststo: melogit binary i.category i.direction absoluteproposal share caprelative unan || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative if unan!=1 || no:


esttab using "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b07.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B8 *
************

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share share2 sparties caprelative unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share coashare caprelative unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties cappercent unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ministerparty unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ssparty unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative formateur unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative PVV  unan[iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative plenshare unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan [iweight=absoluteproposal] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan i.year [iweight=absoluteproposal] || pno:  

eststo: melogit binary i.category i.direction absoluteproposal share caprelative unan [iweight=absoluteproposal] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative if unan!=1 [iweight=absoluteproposal] || no:

esttab using "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b08.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

************
* Table B9 *
************

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share share2 sparties caprelative unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share coashare caprelative unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties cappercent unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ministerparty unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative ssparty unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative formateur unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative PVV unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative plenshare unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan [iweight=wparties] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative unan i.year [iweight=wparties] || pno:  

eststo: melogit binary i.category i.direction absoluteproposal share caprelative unan [iweight=wparties] || no:

eststo: melogit binary i.category i.direction absoluteproposal share sparties caprelative if unan!=1 [iweight=wparties] || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b09.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)          ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

*************
* Table B10 *
*************

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share share2 sparties caprelative unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share coashare caprelative unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties cappercent unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ministerparty unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ssparty unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative formateur unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative PVV unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative plenshare unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan i.year || pno:  

eststo: mixed ratio i.category i.direction absoluteproposal share caprelative unan || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative if unan!=1 || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b10.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

*************
* Table B11 *
*************

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share share2 sparties caprelative unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share coashare caprelative unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties cappercent unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ministerparty unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ssparty unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative formateur unan [pw=absoluteproposal] || no:
 
eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative PVV unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative plenshare unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan [pw=absoluteproposal] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan i.year [pw=absoluteproposal] || pno:  

eststo: mixed ratio i.category i.direction absoluteproposal share caprelative unan [pw=absoluteproposal] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative if unan!=1 [pw=absoluteproposal] || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b11.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear

*************
* Table B12 *
*************

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share share2 sparties caprelative unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share coashare caprelative unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties cappercent unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ministerparty unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative ssparty unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative formateur unan [pw=wparties] || no:
 
eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative PVV unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative plenshare unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan [pw=wparties] if !((policy_area_cap=="Burgerrechten (2)")|(policy_area_cap=="Justitie (12)")) || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative unan i.year [pw=wparties] || pno:  

eststo: mixed ratio i.category i.direction absoluteproposal share caprelative unan [pw=wparties] || no:

eststo: mixed ratio i.category i.direction absoluteproposal share sparties caprelative if unan!=1 [pw=wparties] || no:

esttab using  "~/Dropbox/Otjes Willumsen/Price of coalition government/replication files/outputs/Table b12.rtf", replace wide nogap onecell cells(b(star fmt(%9.2f)) se(par))                ///
        stats(N aic, fmt(%9.0g %9.0f %9.0f) labels("Number of Cases"))      ///
                                   starlevels(* 0.1 ** 0.05 *** 0.01)           ///
        legend label collabels(none)                                                                                               ///
                                   varlabels(_cons Constant)
eststo clear
